package com.cooper.entity;

import com.cooper.domain.Entity;

/**
 * Email邮件服务器设置
 * @Title: EmailServerSetting.java<br>
 * @Date: Apr 12, 2012 11:12:29 AM<br>
 * @Copyright (c) 2012 MiXuan <br> * 
 * @since 1.0
 * @author coral
 */
public class EmailServerSetting extends Entity{
	private static final long serialVersionUID = 7393386893398134667L;
	
	public static int DEFAULT_SMTP_PORT = 25;
	public static int DEFAULT_POP3_PORT = 110;
	
	private String emailType;
	private String smtpServer;
	private int smtpPort = DEFAULT_SMTP_PORT;
	private String popServer;
	private int popPort = DEFAULT_POP3_PORT;
	private int authorized = 1;
	private int isSsl = 0;
	
	/** 是否为管理员设置 */
	private int administrator = 0;
	
	public String getEmailType() {
		return emailType;
	}
	public void setEmailType(String emailType) {
		this.emailType = emailType;
	}
	public int getPopPort() {
		return popPort;
	}
	public void setPopPort(int popPort) {
		this.popPort = popPort;
	}
	public String getPopServer() {
		return popServer;
	}
	public void setPopServer(String popServer) {
		this.popServer = popServer;
	}
	public int getSmtpPort() {
		return smtpPort;
	}
	public void setSmtpPort(int smtpPort) {
		this.smtpPort = smtpPort;
	}
	public String getSmtpServer() {
		return smtpServer;
	}
	public void setSmtpServer(String smtpServer) {
		this.smtpServer = smtpServer;
	}
	public int getAuthorized() {
		return authorized;
	}
	public void setAuthorized(int authorized) {
		this.authorized = authorized;
	}
	
	public int getIsSsl() {
		return isSsl;
	}
	public void setIsSsl(int isSsl) {
		this.isSsl = isSsl;
	}
	public int getAdministrator() {
		return administrator;
	}
	public void setAdministrator(int administrator) {
		this.administrator = administrator;
	}
	
}
